#!/bin/sh

# Set up the directory
mkdir ImmViz

# Make the apps
/usr/local/bin/platypus -R -a 'Install' -t 'Shell' -o 'TextWindow' -u 'Christian Muise' -i '/bin/sh' -V '1.0' -s '????' -I 'org.wiiguys.Install' '/Users/wiiguys/immersive-viz/InstallPlat.sh' 'Install.app'
/usr/local/bin/platypus -a 'ImmersiveViz' -t 'Shell' -o 'None' -u 'Christian Muise' -i '/bin/sh' -V '1.0' -s '????' -I 'org.wiiguys.ImmersiveViz' '/Users/wiiguys/immersive-viz/MolVizPlat.sh' 'ImmersiveViz.app'
/usr/local/bin/platypus -a 'ImmersiveVizDemo' -t 'Shell' -o 'None' -u 'Christian Muise' -i '/bin/sh' -V '1.0' -s '????' -I 'org.wiiguys.ImmersiveVizDemo' '/Users/wiiguys/immersive-viz/MolVizDemoPlat.sh' 'ImmersiveVizDemo.app'

# Move the apps over
mv Install.app ImmViz/
mv ImmersiveViz.app ImmViz/
mv ImmersiveVizDemo.app ImmViz/

# Copy the files over
cp 1jnx.pdb ImmViz/
cp install.sh  ImmViz/
cp MolViz.sh  ImmViz/
cp MolVizDemo.sh  ImmViz/
cp *.py  ImmViz/
cp pymol  ImmViz/

